package com.study.studyfive;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

//@Slf4j
@SpringBootApplication
@MapperScan(basePackages = "com.study.studyfive.mybatisPlus")
//(exclude = MongoAutoConfiguration.class)  SpringBoot集成mongodb关闭自动连接实例化
@EnableScheduling
public class StudyFiveApplication {

    //private static Logger logger  =   LoggerFactory.getLogger(DemoLog.class);


    public static void main(String[] args) {
        SpringApplication.run(StudyFiveApplication.class, args);

        //log.info("启动完成");
    }

}
